<?php
/**
 * Created by 王跃达.
 * User: 小马出行
 * Date: 2017/8/24
 * Time: 16:17
 */

namespace app\api\model;

use my\Define;
use think\Db;
use think\Model;

class PayLogModel extends Model
{

	public function addPayLog($data)
    {
        return Db::table('xm_pay_log')->insertGetId($data);
	}

	public function updatePayLog($map,$data)
    {
        return Db::table('xm_pay_log')->where($map)->update($data);
    }

}